package cn.com.anypay.manager.miaoma.manual.student;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;
import java.util.Map;

public interface StudentService {
    void insert(Student entity);
    void deleteById(Long id);
    void deleteByMap(Map<String, Object> columnMap);
    void deleteBatchIds(List<Long> ids);
    void updateById(Student entity);
    void update(Student entity, QueryWrapper<Student> updateWrapper);
    Student selectById(Long id);
    List<Student> selectBatchIds(List<Long> ids);
    List<Student> selectByMap(Map<String, Object> columnMap);
    Student selectOne(QueryWrapper<Student> queryWrapper);
    Long selectCount(QueryWrapper<Student> queryWrapper);
    List<Student> selectList(QueryWrapper<Student> queryWrapper);
    List<Map<String, Object>> selectMaps(QueryWrapper<Student> queryWrapper);
    List<Object> selectObjs(QueryWrapper<Student> queryWrapper);
    IPage<Student> selectPage(Page<Student> page, QueryWrapper<Student> queryWrapper);
    IPage<Map<String, Object>> selectMapsPage(Page<Map<String, Object>> page, QueryWrapper<Student> queryWrapper);
}